<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      width: 600px;
      border: solid;
      margin-left: 200px;
      margin-top: 200px;
    }

    div p {
      border: solid;
      width: 200px;
      height: 200px;
      font-size: 40px;
      margin: 0;
    }

    .p2 {
      background-color: antiquewhite;
      position: fixed;
      /* top: 0;
      left: 0; */
      right: 0;
      bottom: 0;
    }
  </style>
</head>

<body>

  <div>
    <p class="p1">p1</p>
    <p class="p2">p2</p>
    <p class="p3">p3</p>
    <p class="p4">p4</p>
  </div>




</body>

</html>